package com.schoolET.service.wechat;

import com.schoolET.entity.vo.PurchaseGoodsVO;

/**
 * @author: lin
 * @createTime: 2024-06-12  20:59
 * @description: 交易服务
 */
public interface TradeService {

    /**
     * @description: 购买商品
     * @author: lin
     * @date: 2024/6/13 9:33
     * @param: purchaseGoodsVO
     * @param: wechatId
     * @return: boolean
     **/
    boolean purchaseOfGoods(PurchaseGoodsVO purchaseGoodsVO, String wechatId);

    /**
     * @description: 确认收货
     * @author: lin
     * @date: 2024/6/13 11:33
     * @param: id
     * @param: wechatId
     * @return: boolean
     **/
    boolean orderOver(Integer id, String wechatId);

    boolean orderEnd(Integer id, String wechatId);

}
